home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Magazine / Morphos / GCC / os-includeppc / inline / timer.h < prev    next >
C/C++ Source or Header  |  1997-04-14  |  910b  |  35 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_TIMER_H
  4. #define _INLINE_TIMER_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef TIMER_BASE_NAME
  11. #define TIMER_BASE_NAME TimerBase
  12. #endif /* !TIMER_BASE_NAME */
  13.  
  14. #define AddTime(dest, src) \
  15.     LP2NR(0x2a, AddTime, struct timeval *, dest, a0, struct timeval *, src, a1, \
  16.     , TIMER_BASE_NAME)
  17.  
  18. #define CmpTime(dest, src) \
  19.     LP2(0x36, LONG, CmpTime, struct timeval *, dest, a0, struct timeval *, src, a1, \
  20.     , TIMER_BASE_NAME)
  21.  
  22. #define GetSysTime(dest) \
  23.     LP1NR(0x42, GetSysTime, struct timeval *, dest, a0, \
  24.     , TIMER_BASE_NAME)
  25.  
  26. #define ReadEClock(dest) \
  27.     LP1(0x3c, ULONG, ReadEClock, struct EClockVal *, dest, a0, \
  28.     , TIMER_BASE_NAME)
  29.  
  30. #define SubTime(dest, src) \
  31.     LP2NR(0x30, SubTime, struct timeval *, dest, a0, struct timeval *, src, a1, \
  32.     , TIMER_BASE_NAME)
  33.  
  34. #endif /* !_INLINE_TIMER_H */
  35.